import React from 'react';
import { Routes, Route } from 'react-router-dom'
// 123
import Intro from './pages/Smart/Intro'
import Person from "./pages/Smart/Persons"
import House from "./pages/Smart/House"
import Power from "./pages/Smart/Power"
import Vehicle from "./pages/Smart/Vehicle"

export const RoutesOption = () => {
    return (
        <div>
            <Routes>
                <Route path='/admin/comm/intro' element={<Intro />} />
                <Route path='/admin/comm/person' element={<Person />} />
                <Route path='/admin/comm/house' element={<House />} />
                <Route path='/admin/comm/vehicle' element={<Power />} />
                <Route path='/admin/comm/Power' element={<Vehicle />} />
            </Routes>
        </div>
    );
};

export default RoutesOption;